package p270jp.pxv.android.license.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import p325m0.MutabilityOwnership;

/* compiled from: License.kt */
/* renamed from: jp.pxv.android.license.model.License */
/* loaded from: classes2.dex */
public final class License {
    private final String name;
    private final String url;

    public License(String str, String str2) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        MutabilityOwnership.m3745m(str2, "url");
        this.name = str;
        this.url = str2;
    }

    public static /* synthetic */ License copy$default(License license, String str, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            str = license.name;
        }
        if ((i & 2) != 0) {
            str2 = license.url;
        }
        return license.copy(str, str2);
    }

    public final String component1() {
        return this.name;
    }

    public final String component2() {
        return this.url;
    }

    public final License copy(String str, String str2) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        MutabilityOwnership.m3745m(str2, "url");
        return new License(str, str2);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof License)) {
            return false;
        }
        License license = (License) obj;
        return MutabilityOwnership.m3749h(this.name, license.name) && MutabilityOwnership.m3749h(this.url, license.url);
    }

    public final String getName() {
        return this.name;
    }

    public final String getUrl() {
        return this.url;
    }

    public int hashCode() {
        return this.url.hashCode() + (this.name.hashCode() * 31);
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("License(name=");
        c.append(this.name);
        c.append(", url=");
        return C2047a.m8800b(c, this.url, ')');
    }
}
